<?php
session_start();
require("3.php");
$lat = $_GET['lat'];
$lng = $_GET['lng'];
$type = $_SESSION['estado'];
mysql_query("UPDATE google_maps SET Lat='$lat' WHERE Nick='$type'");
mysql_query("UPDATE google_maps SET Lng='$lng' WHERE Nick='$type'");
?>